﻿using Middleware.ApiTest.Services.Dtos;

namespace Middleware.ApiTest.Services
{
    public interface IOrderServices
    {

        /// <summary>
        /// 获取用户列表
        /// </summary>
        /// <returns></returns>
        Task<List<OrderInfoDto>> GetOrderListAsync();

        /// <summary>
        /// 创建订单
        /// </summary>
        /// <param name="createOrderDto"></param>
        /// <returns></returns>
        Task<bool> CreateOrderAsync(CreateOrderDto createOrderDto);

    }
}
